package com.glut.vo;

import java.io.Serializable;
import java.sql.Blob;

/**
 * 学生主观题（填空，简答题）答题表
 * @Author:沈林玉
 * @date:2020/2/2 22:53
 * @Description:
 */
public class FsAnswers implements Serializable {

    private String fsID; // （填空，简答题）题目编号
    private String examNo; // 考卷编号
    private String fsAnswer; // 用户答案，可以是图片加文字
    private String fsImages; // 图片
    private Integer fsScore; // 学生得分,没自评就是-1
    private Integer totalValue; // 总分值

    private Examination examination;
    private FQuestionDetail fQuestion;
    private ShQuestionDetail shQuestion;
    private SdfsQuestions sdfsQuestions;


    public FsAnswers() {
    }

    public FsAnswers(String fsID, String examNo,
                     String fsAnswer, Integer fsScore, Integer totalValue) {
        this.fsID = fsID;
        this.examNo = examNo;
        this.fsAnswer = fsAnswer;
        this.fsScore = fsScore;
        this.totalValue = totalValue;
    }

    public FsAnswers(String fsID, String examNo, String fsAnswer, String fsImages, Integer fsScore, Integer totalValue) {
        this.fsID = fsID;
        this.examNo = examNo;
        this.fsAnswer = fsAnswer;
        this.fsImages = fsImages;
        this.fsScore = fsScore;
        this.totalValue = totalValue;
    }

    public FsAnswers(String fsID, String examNo, String fsAnswer, Integer fsScore, Integer totalValue, Examination examination) {
        this.fsID = fsID;
        this.examNo = examNo;
        this.fsAnswer = fsAnswer;
        this.fsScore = fsScore;
        this.totalValue = totalValue;
        this.examination = examination;
    }

    public FsAnswers(String fsID, String examNo, String fsAnswer, Integer fsScore, Integer totalValue, Examination examination, FQuestionDetail fQuestion, ShQuestionDetail shQuestion, SdfsQuestions sdfsQuestions) {
        this.fsID = fsID;
        this.examNo = examNo;
        this.fsAnswer = fsAnswer;
        this.fsScore = fsScore;
        this.totalValue = totalValue;
        this.examination = examination;
        this.fQuestion = fQuestion;
        this.shQuestion = shQuestion;
        this.sdfsQuestions = sdfsQuestions;
    }

    public String getFsID() {
        return fsID;
    }

    public void setFsID(String fsID) {
        this.fsID = fsID;
    }

    public String getExamNo() {
        return examNo;
    }

    public void setExamNo(String examNo) {
        this.examNo = examNo;
    }

    public String getFsAnswer() {
        return fsAnswer;
    }

    public void setFsAnswer(String fsAnswer) {
        this.fsAnswer = fsAnswer;
    }

    public Integer getFsScore() {
        return fsScore;
    }

    public void setFsScore(Integer fsScore) {
        this.fsScore = fsScore;
    }

    public Integer getTotalValue() {
        return totalValue;
    }

    public void setTotalValue(Integer totalValue) {
        this.totalValue = totalValue;
    }

    public Examination getExamination() {
        return examination;
    }

    public void setExamination(Examination examination) {
        this.examination = examination;
    }


    public FQuestionDetail getfQuestion() {
        return fQuestion;
    }

    public void setfQuestion(FQuestionDetail fQuestion) {
        this.fQuestion = fQuestion;
    }

    public ShQuestionDetail getShQuestion() {
        return shQuestion;
    }

    public void setShQuestion(ShQuestionDetail shQuestion) {
        this.shQuestion = shQuestion;
    }

    public SdfsQuestions getSdfsQuestions() {
        return sdfsQuestions;
    }

    public void setSdfsQuestions(SdfsQuestions sdfsQuestions) {
        this.sdfsQuestions = sdfsQuestions;
    }

    public String getFsImages() {
        return fsImages;
    }

    public void setFsImages(String fsImages) {
        this.fsImages = fsImages;
    }

    @Override
    public String toString() {
        return "FsAnswers{" +
                "fsID='" + fsID + '\'' +
                ", examNo='" + examNo + '\'' +
                ", fsAnswer=" + fsAnswer +
                ", fsScore=" + fsScore +
                ", totalValue=" + totalValue +
                ", examination=" + examination +
                '}';
    }
}
